package si.yun.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
/** 
 * @Author Cxc 
 * @Author QQ:1304793236 
 * @Date 2021-07-30 08:44:54 
 */
@Entity
@Table ( name ="sy_course" )
public class SyCourse  implements Serializable {

	private static final long serialVersionUID =  8811386706044849105L;

	/**
	 * 课程主键
	 */
   	@Column(name = "course_id" )
	private Long courseId;

	/**
	 * 后台用户id(主讲教师)
	 */
   	@Column(name = "user_id" )
	private Long userId;

	/**
	 * 课程专业id
	 */
   	@Column(name = "class_id" )
	private Long classId;

	/**
	 * 推荐（2，新品，3推荐，4其他）
	 */
   	@Column(name = "recommend" )
	private Long recommend;

	/**
	 * 课程名称
	 */
   	@Column(name = "course_name" )
	private String courseName;

	/**
	 * 课程简介
	 */
   	@Column(name = "course_intro" )
	private String courseIntro;

	/**
	 * 课程原价
	 */
   	@Column(name = "course_price" )
	private BigDecimal coursePrice;

	/**
	 * 课程现价
	 */
   	@Column(name = "course_nprice" )
	private BigDecimal courseNprice;

	/**
	 * 上架状态(2上架，3未上架）
	 */
   	@Column(name = "course_status" )
	private Long courseStatus;

	/**
	 * 审核状态(3未审核，4审核中，5审核失败，6其他）
	 */
   	@Column(name = "course_cstatus" )
	private Long courseCstatus;

	/**
	 * 课程搜索关键字
	 */
   	@Column(name = "course_primary" )
	private String coursePrimary;

	/**
	 * 图片封面url地址
	 */
   	@Column(name = "url" )
	private String url;

	/**
	 * 课程url地址
	 */
   	@Column(name = "course_url" )
	private String courseUrl;

	/**
	 * 课程地址
	 */
   	@Column(name = "course_info" )
	private String courseInfo;

	/**
	 * 课程序号(1,2,3集）
	 */
   	@Column(name = "course_no" )
	private Long courseNo;

	/**
	 * 视频时长(分钟)
	 */
   	@Column(name = "course_time" )
	private Long courseTime;

	/**
	 * 点赞数量
	 */
   	@Column(name = "like_num" )
	private Long likeNum;

	/**
	 * 分享数量
	 */
   	@Column(name = "share_num" )
	private Long shareNum;

	/**
	 * 收藏数量
	 */
   	@Column(name = "collect_num" )
	private Long collectNum;

	/**
	 * 预览数量
	 */
   	@Column(name = "look_num" )
	private Long lookNum;

	/**
	 * 销售数量
	 */
   	@Column(name = "sale_num" )
	private Long saleNum;

	/**
	 * 序号
	 */
	@Id
   	@Column(name = "id" )
	private Long id;

	/**
	 * 创建人
	 */
   	@Column(name = "create_id" )
	private Long createId;

	/**
	 * 创建时间
	 */
   	@Column(name = "create_date" )
	private Date createDate;

	/**
	 * 更新人
	 */
   	@Column(name = "update_id" )
	private Long updateId;

	/**
	 * 更新时间
	 */
   	@Column(name = "update_date" )
	private Date updateDate;

  public Long getCourseId() {
    return courseId;
  }

  public void setCourseId(Long courseId) {
    this.courseId = courseId;
  }


  public Long getUserId() {
    return userId;
  }

  public void setUserId(Long userId) {
    this.userId = userId;
  }


  public Long getClassId() {
    return classId;
  }

  public void setClassId(Long classId) {
    this.classId = classId;
  }


  public Long getRecommend() {
    return recommend;
  }

  public void setRecommend(Long recommend) {
    this.recommend = recommend;
  }


  public String getCourseName() {
    return courseName;
  }

  public void setCourseName(String courseName) {
    this.courseName = courseName;
  }


  public String getCourseIntro() {
    return courseIntro;
  }

  public void setCourseIntro(String courseIntro) {
    this.courseIntro = courseIntro;
  }


  public BigDecimal getCoursePrice() {
    return coursePrice;
  }

  public void setCoursePrice(BigDecimal coursePrice) {
    this.coursePrice = coursePrice;
  }


  public BigDecimal getCourseNprice() {
    return courseNprice;
  }

  public void setCourseNprice(BigDecimal courseNprice) {
    this.courseNprice = courseNprice;
  }


  public Long getCourseStatus() {
    return courseStatus;
  }

  public void setCourseStatus(Long courseStatus) {
    this.courseStatus = courseStatus;
  }


  public Long getCourseCstatus() {
    return courseCstatus;
  }

  public void setCourseCstatus(Long courseCstatus) {
    this.courseCstatus = courseCstatus;
  }


  public String getCoursePrimary() {
    return coursePrimary;
  }

  public void setCoursePrimary(String coursePrimary) {
    this.coursePrimary = coursePrimary;
  }


  public String getUrl() {
    return url;
  }

  public void setUrl(String url) {
    this.url = url;
  }


  public String getCourseUrl() {
    return courseUrl;
  }

  public void setCourseUrl(String courseUrl) {
    this.courseUrl = courseUrl;
  }


  public String getCourseInfo() {
    return courseInfo;
  }

  public void setCourseInfo(String courseInfo) {
    this.courseInfo = courseInfo;
  }


  public Long getCourseNo() {
    return courseNo;
  }

  public void setCourseNo(Long courseNo) {
    this.courseNo = courseNo;
  }


  public Long getCourseTime() {
    return courseTime;
  }

  public void setCourseTime(Long courseTime) {
    this.courseTime = courseTime;
  }


  public Long getLikeNum() {
    return likeNum;
  }

  public void setLikeNum(Long likeNum) {
    this.likeNum = likeNum;
  }


  public Long getShareNum() {
    return shareNum;
  }

  public void setShareNum(Long shareNum) {
    this.shareNum = shareNum;
  }


  public Long getCollectNum() {
    return collectNum;
  }

  public void setCollectNum(Long collectNum) {
    this.collectNum = collectNum;
  }


  public Long getLookNum() {
    return lookNum;
  }

  public void setLookNum(Long lookNum) {
    this.lookNum = lookNum;
  }


  public Long getSaleNum() {
    return saleNum;
  }

  public void setSaleNum(Long saleNum) {
    this.saleNum = saleNum;
  }


  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }


  public Long getCreateId() {
    return createId;
  }

  public void setCreateId(Long createId) {
    this.createId = createId;
  }


  public Date getCreateDate() {
    return createDate;
  }

  public void setCreateDate(Date createDate) {
    this.createDate = createDate;
  }


  public Long getUpdateId() {
    return updateId;
  }

  public void setUpdateId(Long updateId) {
    this.updateId = updateId;
  }


  public Date getUpdateDate() {
    return updateDate;
  }

  public void setUpdateDate(Date updateDate) {
    this.updateDate = updateDate;
  }

}
